Line Test API

(0 reviews)

Test Cases

Fibre Test Cases

Test Case API Endpoint Suggested Test Case Expected Result
1 GET /products/{productId} Get fibre product details where a valid fibre product identifier (product ID) is provided. Fibre product details are returned, along with enriched ONT information.
2 GET /products/{productId} Get product details where an invalid product identifier (product ID) is provided. Error response is returned.
3 POST /tests Create an ONT status test for a fibre product where a valid fibre product identifier (product ID) is provided. Test ID is returned.
4 POST /tests Create an RGW bandwidth test for a fibre product where a valid fibre product identifier (product ID) is provided. Test ID is returned.
5 POST /tests Create an ONT status over time test for a fibre product where a valid fibre product identifier (product ID) is provided. Test ID is returned.
6 POST /tests Create any fibre test where an invalid product identifier (product ID) is provided. Error response is returned.
7 GET /tests/{testId} Get an ONT Status test result for a valid test identifier (test ID). ONT status test result is returned.
8 GET /tests/{testId} Get an RGW bandwidth test result for a valid test identifier (test ID). RGW bandwidth test result is returned.
9 GET /tests/{testId} Get an ONT status over time test result for a valid test identifier (test ID). ONT status over time test result is returned.
10 GET /tests/{testId} Get an optical info test result for a valid test identifier (test ID). Optical Info test result is returned.
11 GET /tests/{testId} Get a test result for an invalid test identifier (test ID). Error response is returned.
12 GET /tests/{testId} Get all fibre test results for a valid product identifier (product ID). Fibre test results are returned.

Copper Test Cases – DSL Product

Test Case API Endpoint Suggested Test Case Expected Result
1 GET /products/{productId} Get DSL product details where a valid product identifier (product ID) is provided. DSL product details are returned.
2 POST /tests Create a line state diagnosis test for a DSL product where a valid product identifier (product ID) is provided. Test ID is returned.
3 POST /tests Create a line state diagnosis test where an invalid product identifier (product ID) is provided. Error response is returned.
4 GET /tests/{testId} Get a line state diagnosis test result for a valid test identifier (test ID). Line state diagnosis test result is returned.
5 GET /tests/{testId} Get a line quality diagnosis test result for a valid test identifier (test ID). Line quality diagnosis test result is returned.
6 GET /tests/{testId} Get all DSL test results for a valid product identifier (product ID). DSL test results are returned.

Copper Test Cases – BBIP Product

Test Case API Endpoint Suggested Test Case Expected Result
1 GET /products/{productId} Get BBIP product details where a valid product identifier (product ID) is provided. BBIP product details are returned.
2 POST /tests Create an nblt single line test for a BBIP product where a valid product identifier (product ID) is provided. Test ID is returned.
3 POST /tests Create an nblt electrical loop test for a BBIP product where a valid product identifier (product ID) is provided. Test ID is returned.
4 POST /tests Create any BBIP test where an invalid product identifier (product ID) is provided. Error response is returned.
5 GET /tests/{testId} Get an nblt single line test result for a valid test identifier (test ID). Single line test result is returned.
6 GET /tests/{testId} Get an nblt electrical loop test result for a valid test identifier (test ID). Electrical loop test result is returned.
7 GET /tests/{testId} Get all BBIP test results for a valid product identifier (product ID). BBIP test results are returned.

Reviews